package flex.cc.single.service.impl;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import flex.cc.single.dao.SingleOrderDao;
import flex.cc.single.dto.entity.SingleOrderEntity;
import flex.cc.single.service.SingleOrderService;


/**
 * @author R
 * @2022年3月31日  19:52:51
 * @description 单项服务单表service实现类
 */
@Service("singleOrderService")
public class SingleOrderServiceImpl extends ServiceImpl<SingleOrderDao, SingleOrderEntity> implements SingleOrderService {

	@Resource
	private SingleOrderDao singleOrderDao;

	/**
	 * @description 根据参数查询单项服务单主表信息
	 * @author R
	 * @2022年3月31日  19:52:51
	 */
	@Override
	public SingleOrderEntity getOneByParams(Map<String, Object> params) {
		return singleOrderDao.getOneByParams(params);
	}

	/**
	 * @description 根据参数更新
	 * @author R
	 * @2022年3月31日  19:52:51
	 */
	@Override
	public int updateByParams(Map<String, Object> params) {
		return singleOrderDao.updateByParams(params);
	}
}
